package com.hjt.gulimall.order.constant;

/**
 * @author:97007
 * @date:2021/10/14 10:55
 */
public interface RabbitMqConstant {
    String ORDER_RELEASE_QUEUE_NAME = "order.release.queue";
    String ORDER_EVENT_EXCHANGE_NAME = "order-event-exchange";
    String ORDER_DELAY_QUEUE_NAME = "order.delay.queue";
    String ORDER_RELEASE_ROUTE_KEY = "order.release.order";
    String ORDER_CREATE_ROUTE_KEY = "order.create.order";
    String STOCK_RELEASE_QUEUE_NAME = "stock.release.queue"; // 库存释放队列的名称
    String ORDER_STOCK_ROUTE_KEY = "order.release.stock"; // 订单释放后路由到库存释放队列的路由键
    String ORDER_OTHER_ROUTE_KEY = "order.release.other.#";
}
